package com.spark.core.dao;

/**
 * @author hgu
 * 
 */
public interface DaoSupport {

	<T> T getEntity(Class<T> entityClass, Object id);

	void remove(Object entity);

	void merge(Object entity);

	void persist(Object entity);

	void detach(Object entity);

}
